package com.swt.draw.example;

import java.util.ArrayList;
import java.util.List;

public class AdminExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AdminExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andAdminNoIsNull() {
            addCriterion("ADMIN_NO is null");
            return (Criteria) this;
        }

        public Criteria andAdminNoIsNotNull() {
            addCriterion("ADMIN_NO is not null");
            return (Criteria) this;
        }

        public Criteria andAdminNoEqualTo(String value) {
            addCriterion("ADMIN_NO =", value, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoNotEqualTo(String value) {
            addCriterion("ADMIN_NO <>", value, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoGreaterThan(String value) {
            addCriterion("ADMIN_NO >", value, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_NO >=", value, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoLessThan(String value) {
            addCriterion("ADMIN_NO <", value, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_NO <=", value, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoLike(String value) {
            addCriterion("ADMIN_NO like", value, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoNotLike(String value) {
            addCriterion("ADMIN_NO not like", value, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoIn(List<String> values) {
            addCriterion("ADMIN_NO in", values, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoNotIn(List<String> values) {
            addCriterion("ADMIN_NO not in", values, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoBetween(String value1, String value2) {
            addCriterion("ADMIN_NO between", value1, value2, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNoNotBetween(String value1, String value2) {
            addCriterion("ADMIN_NO not between", value1, value2, "adminNo");
            return (Criteria) this;
        }

        public Criteria andAdminNameIsNull() {
            addCriterion("ADMIN_NAME is null");
            return (Criteria) this;
        }

        public Criteria andAdminNameIsNotNull() {
            addCriterion("ADMIN_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andAdminNameEqualTo(String value) {
            addCriterion("ADMIN_NAME =", value, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameNotEqualTo(String value) {
            addCriterion("ADMIN_NAME <>", value, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameGreaterThan(String value) {
            addCriterion("ADMIN_NAME >", value, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_NAME >=", value, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameLessThan(String value) {
            addCriterion("ADMIN_NAME <", value, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_NAME <=", value, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameLike(String value) {
            addCriterion("ADMIN_NAME like", value, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameNotLike(String value) {
            addCriterion("ADMIN_NAME not like", value, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameIn(List<String> values) {
            addCriterion("ADMIN_NAME in", values, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameNotIn(List<String> values) {
            addCriterion("ADMIN_NAME not in", values, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameBetween(String value1, String value2) {
            addCriterion("ADMIN_NAME between", value1, value2, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminNameNotBetween(String value1, String value2) {
            addCriterion("ADMIN_NAME not between", value1, value2, "adminName");
            return (Criteria) this;
        }

        public Criteria andAdminPwdIsNull() {
            addCriterion("ADMIN_PWD is null");
            return (Criteria) this;
        }

        public Criteria andAdminPwdIsNotNull() {
            addCriterion("ADMIN_PWD is not null");
            return (Criteria) this;
        }

        public Criteria andAdminPwdEqualTo(String value) {
            addCriterion("ADMIN_PWD =", value, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdNotEqualTo(String value) {
            addCriterion("ADMIN_PWD <>", value, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdGreaterThan(String value) {
            addCriterion("ADMIN_PWD >", value, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_PWD >=", value, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdLessThan(String value) {
            addCriterion("ADMIN_PWD <", value, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_PWD <=", value, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdLike(String value) {
            addCriterion("ADMIN_PWD like", value, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdNotLike(String value) {
            addCriterion("ADMIN_PWD not like", value, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdIn(List<String> values) {
            addCriterion("ADMIN_PWD in", values, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdNotIn(List<String> values) {
            addCriterion("ADMIN_PWD not in", values, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdBetween(String value1, String value2) {
            addCriterion("ADMIN_PWD between", value1, value2, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminPwdNotBetween(String value1, String value2) {
            addCriterion("ADMIN_PWD not between", value1, value2, "adminPwd");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameIsNull() {
            addCriterion("ADMIN_LOGIN_NAME is null");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameIsNotNull() {
            addCriterion("ADMIN_LOGIN_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameEqualTo(String value) {
            addCriterion("ADMIN_LOGIN_NAME =", value, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameNotEqualTo(String value) {
            addCriterion("ADMIN_LOGIN_NAME <>", value, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameGreaterThan(String value) {
            addCriterion("ADMIN_LOGIN_NAME >", value, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_LOGIN_NAME >=", value, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameLessThan(String value) {
            addCriterion("ADMIN_LOGIN_NAME <", value, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_LOGIN_NAME <=", value, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameLike(String value) {
            addCriterion("ADMIN_LOGIN_NAME like", value, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameNotLike(String value) {
            addCriterion("ADMIN_LOGIN_NAME not like", value, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameIn(List<String> values) {
            addCriterion("ADMIN_LOGIN_NAME in", values, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameNotIn(List<String> values) {
            addCriterion("ADMIN_LOGIN_NAME not in", values, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameBetween(String value1, String value2) {
            addCriterion("ADMIN_LOGIN_NAME between", value1, value2, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminLoginNameNotBetween(String value1, String value2) {
            addCriterion("ADMIN_LOGIN_NAME not between", value1, value2, "adminLoginName");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoIsNull() {
            addCriterion("ADMIN_PART_NO is null");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoIsNotNull() {
            addCriterion("ADMIN_PART_NO is not null");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoEqualTo(String value) {
            addCriterion("ADMIN_PART_NO =", value, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoNotEqualTo(String value) {
            addCriterion("ADMIN_PART_NO <>", value, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoGreaterThan(String value) {
            addCriterion("ADMIN_PART_NO >", value, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_PART_NO >=", value, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoLessThan(String value) {
            addCriterion("ADMIN_PART_NO <", value, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_PART_NO <=", value, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoLike(String value) {
            addCriterion("ADMIN_PART_NO like", value, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoNotLike(String value) {
            addCriterion("ADMIN_PART_NO not like", value, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoIn(List<String> values) {
            addCriterion("ADMIN_PART_NO in", values, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoNotIn(List<String> values) {
            addCriterion("ADMIN_PART_NO not in", values, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoBetween(String value1, String value2) {
            addCriterion("ADMIN_PART_NO between", value1, value2, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPartNoNotBetween(String value1, String value2) {
            addCriterion("ADMIN_PART_NO not between", value1, value2, "adminPartNo");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneIsNull() {
            addCriterion("ADMIN_PHONE is null");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneIsNotNull() {
            addCriterion("ADMIN_PHONE is not null");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneEqualTo(String value) {
            addCriterion("ADMIN_PHONE =", value, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneNotEqualTo(String value) {
            addCriterion("ADMIN_PHONE <>", value, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneGreaterThan(String value) {
            addCriterion("ADMIN_PHONE >", value, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_PHONE >=", value, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneLessThan(String value) {
            addCriterion("ADMIN_PHONE <", value, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_PHONE <=", value, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneLike(String value) {
            addCriterion("ADMIN_PHONE like", value, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneNotLike(String value) {
            addCriterion("ADMIN_PHONE not like", value, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneIn(List<String> values) {
            addCriterion("ADMIN_PHONE in", values, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneNotIn(List<String> values) {
            addCriterion("ADMIN_PHONE not in", values, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneBetween(String value1, String value2) {
            addCriterion("ADMIN_PHONE between", value1, value2, "adminPhone");
            return (Criteria) this;
        }

        public Criteria andAdminPhoneNotBetween(String value1, String value2) {
            addCriterion("ADMIN_PHONE not between", value1, value2, "adminPhone");
            return (Criteria) this;
        }

        /*性别*/
        public Criteria andAdminSexIsNull() {
            addCriterion("ADMIN_SEX is null");
            return (Criteria) this;
        }

        public Criteria andAdminSexIsNotNull() {
            addCriterion("ADMIN_SEX is not null");
            return (Criteria) this;
        }

        public Criteria andAdminSexEqualTo(String value) {
            addCriterion("ADMIN_SEX =", value, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexNotEqualTo(String value) {
            addCriterion("ADMIN_SEX <>", value, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexGreaterThan(String value) {
            addCriterion("ADMIN_SEX >", value, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_SEX >=", value, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexLessThan(String value) {
            addCriterion("ADMIN_SEX <", value, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_SEX <=", value, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexLike(String value) {
            addCriterion("ADMIN_SEX like", value, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexNotLike(String value) {
            addCriterion("ADMIN_SEX not like", value, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexIn(List<String> values) {
            addCriterion("ADMIN_SEX in", values, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexNotIn(List<String> values) {
            addCriterion("ADMIN_SEX not in", values, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexBetween(String value1, String value2) {
            addCriterion("ADMIN_SEX between", value1, value2, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminSexNotBetween(String value1, String value2) {
            addCriterion("ADMIN_SEX not between", value1, value2, "adminSex");
            return (Criteria) this;
        }

        public Criteria andAdminStatusIsNull() {
            addCriterion("ADMIN_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andAdminStatusIsNotNull() {
            addCriterion("ADMIN_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andAdminStatusEqualTo(Short value) {
            addCriterion("ADMIN_STATUS =", value, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminStatusNotEqualTo(Short value) {
            addCriterion("ADMIN_STATUS <>", value, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminStatusGreaterThan(Short value) {
            addCriterion("ADMIN_STATUS >", value, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("ADMIN_STATUS >=", value, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminStatusLessThan(Short value) {
            addCriterion("ADMIN_STATUS <", value, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminStatusLessThanOrEqualTo(Short value) {
            addCriterion("ADMIN_STATUS <=", value, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminStatusIn(List<Short> values) {
            addCriterion("ADMIN_STATUS in", values, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminStatusNotIn(List<Short> values) {
            addCriterion("ADMIN_STATUS not in", values, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminStatusBetween(Short value1, Short value2) {
            addCriterion("ADMIN_STATUS between", value1, value2, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminStatusNotBetween(Short value1, Short value2) {
            addCriterion("ADMIN_STATUS not between", value1, value2, "adminStatus");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeIsNull() {
            addCriterion("ADMIN_CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeIsNotNull() {
            addCriterion("ADMIN_CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeEqualTo(String value) {
            addCriterion("ADMIN_CREATE_TIME =", value, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeNotEqualTo(String value) {
            addCriterion("ADMIN_CREATE_TIME <>", value, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeGreaterThan(String value) {
            addCriterion("ADMIN_CREATE_TIME >", value, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_CREATE_TIME >=", value, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeLessThan(String value) {
            addCriterion("ADMIN_CREATE_TIME <", value, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_CREATE_TIME <=", value, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeLike(String value) {
            addCriterion("ADMIN_CREATE_TIME like", value, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeNotLike(String value) {
            addCriterion("ADMIN_CREATE_TIME not like", value, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeIn(List<String> values) {
            addCriterion("ADMIN_CREATE_TIME in", values, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeNotIn(List<String> values) {
            addCriterion("ADMIN_CREATE_TIME not in", values, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeBetween(String value1, String value2) {
            addCriterion("ADMIN_CREATE_TIME between", value1, value2, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateTimeNotBetween(String value1, String value2) {
            addCriterion("ADMIN_CREATE_TIME not between", value1, value2, "adminCreateTime");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByIsNull() {
            addCriterion("ADMIN_CREATE_BY is null");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByIsNotNull() {
            addCriterion("ADMIN_CREATE_BY is not null");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByEqualTo(String value) {
            addCriterion("ADMIN_CREATE_BY =", value, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByNotEqualTo(String value) {
            addCriterion("ADMIN_CREATE_BY <>", value, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByGreaterThan(String value) {
            addCriterion("ADMIN_CREATE_BY >", value, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_CREATE_BY >=", value, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByLessThan(String value) {
            addCriterion("ADMIN_CREATE_BY <", value, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_CREATE_BY <=", value, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByLike(String value) {
            addCriterion("ADMIN_CREATE_BY like", value, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByNotLike(String value) {
            addCriterion("ADMIN_CREATE_BY not like", value, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByIn(List<String> values) {
            addCriterion("ADMIN_CREATE_BY in", values, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByNotIn(List<String> values) {
            addCriterion("ADMIN_CREATE_BY not in", values, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByBetween(String value1, String value2) {
            addCriterion("ADMIN_CREATE_BY between", value1, value2, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminCreateByNotBetween(String value1, String value2) {
            addCriterion("ADMIN_CREATE_BY not between", value1, value2, "adminCreateBy");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1IsNull() {
            addCriterion("ADMIN_EXTEND1 is null");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1IsNotNull() {
            addCriterion("ADMIN_EXTEND1 is not null");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1EqualTo(String value) {
            addCriterion("ADMIN_EXTEND1 =", value, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1NotEqualTo(String value) {
            addCriterion("ADMIN_EXTEND1 <>", value, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1GreaterThan(String value) {
            addCriterion("ADMIN_EXTEND1 >", value, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1GreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_EXTEND1 >=", value, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1LessThan(String value) {
            addCriterion("ADMIN_EXTEND1 <", value, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1LessThanOrEqualTo(String value) {
            addCriterion("ADMIN_EXTEND1 <=", value, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1Like(String value) {
            addCriterion("ADMIN_EXTEND1 like", value, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1NotLike(String value) {
            addCriterion("ADMIN_EXTEND1 not like", value, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1In(List<String> values) {
            addCriterion("ADMIN_EXTEND1 in", values, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1NotIn(List<String> values) {
            addCriterion("ADMIN_EXTEND1 not in", values, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1Between(String value1, String value2) {
            addCriterion("ADMIN_EXTEND1 between", value1, value2, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend1NotBetween(String value1, String value2) {
            addCriterion("ADMIN_EXTEND1 not between", value1, value2, "adminExtend1");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2IsNull() {
            addCriterion("ADMIN_EXTEND2 is null");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2IsNotNull() {
            addCriterion("ADMIN_EXTEND2 is not null");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2EqualTo(String value) {
            addCriterion("ADMIN_EXTEND2 =", value, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2NotEqualTo(String value) {
            addCriterion("ADMIN_EXTEND2 <>", value, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2GreaterThan(String value) {
            addCriterion("ADMIN_EXTEND2 >", value, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2GreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_EXTEND2 >=", value, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2LessThan(String value) {
            addCriterion("ADMIN_EXTEND2 <", value, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2LessThanOrEqualTo(String value) {
            addCriterion("ADMIN_EXTEND2 <=", value, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2Like(String value) {
            addCriterion("ADMIN_EXTEND2 like", value, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2NotLike(String value) {
            addCriterion("ADMIN_EXTEND2 not like", value, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2In(List<String> values) {
            addCriterion("ADMIN_EXTEND2 in", values, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2NotIn(List<String> values) {
            addCriterion("ADMIN_EXTEND2 not in", values, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2Between(String value1, String value2) {
            addCriterion("ADMIN_EXTEND2 between", value1, value2, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend2NotBetween(String value1, String value2) {
            addCriterion("ADMIN_EXTEND2 not between", value1, value2, "adminExtend2");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3IsNull() {
            addCriterion("ADMIN_EXTEND3 is null");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3IsNotNull() {
            addCriterion("ADMIN_EXTEND3 is not null");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3EqualTo(String value) {
            addCriterion("ADMIN_EXTEND3 =", value, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3NotEqualTo(String value) {
            addCriterion("ADMIN_EXTEND3 <>", value, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3GreaterThan(String value) {
            addCriterion("ADMIN_EXTEND3 >", value, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3GreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_EXTEND3 >=", value, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3LessThan(String value) {
            addCriterion("ADMIN_EXTEND3 <", value, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3LessThanOrEqualTo(String value) {
            addCriterion("ADMIN_EXTEND3 <=", value, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3Like(String value) {
            addCriterion("ADMIN_EXTEND3 like", value, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3NotLike(String value) {
            addCriterion("ADMIN_EXTEND3 not like", value, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3In(List<String> values) {
            addCriterion("ADMIN_EXTEND3 in", values, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3NotIn(List<String> values) {
            addCriterion("ADMIN_EXTEND3 not in", values, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3Between(String value1, String value2) {
            addCriterion("ADMIN_EXTEND3 between", value1, value2, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminExtend3NotBetween(String value1, String value2) {
            addCriterion("ADMIN_EXTEND3 not between", value1, value2, "adminExtend3");
            return (Criteria) this;
        }

        public Criteria andAdminEmailIsNull() {
            addCriterion("ADMIN_EMAIL is null");
            return (Criteria) this;
        }

        public Criteria andAdminEmailIsNotNull() {
            addCriterion("ADMIN_EMAIL is not null");
            return (Criteria) this;
        }

        public Criteria andAdminEmailEqualTo(String value) {
            addCriterion("ADMIN_EMAIL =", value, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailNotEqualTo(String value) {
            addCriterion("ADMIN_EMAIL <>", value, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailGreaterThan(String value) {
            addCriterion("ADMIN_EMAIL >", value, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_EMAIL >=", value, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailLessThan(String value) {
            addCriterion("ADMIN_EMAIL <", value, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_EMAIL <=", value, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailLike(String value) {
            addCriterion("ADMIN_EMAIL like", value, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailNotLike(String value) {
            addCriterion("ADMIN_EMAIL not like", value, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailIn(List<String> values) {
            addCriterion("ADMIN_EMAIL in", values, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailNotIn(List<String> values) {
            addCriterion("ADMIN_EMAIL not in", values, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailBetween(String value1, String value2) {
            addCriterion("ADMIN_EMAIL between", value1, value2, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminEmailNotBetween(String value1, String value2) {
            addCriterion("ADMIN_EMAIL not between", value1, value2, "adminEmail");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkIsNull() {
            addCriterion("ADMIN_REMARK is null");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkIsNotNull() {
            addCriterion("ADMIN_REMARK is not null");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkEqualTo(String value) {
            addCriterion("ADMIN_REMARK =", value, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkNotEqualTo(String value) {
            addCriterion("ADMIN_REMARK <>", value, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkGreaterThan(String value) {
            addCriterion("ADMIN_REMARK >", value, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_REMARK >=", value, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkLessThan(String value) {
            addCriterion("ADMIN_REMARK <", value, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_REMARK <=", value, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkLike(String value) {
            addCriterion("ADMIN_REMARK like", value, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkNotLike(String value) {
            addCriterion("ADMIN_REMARK not like", value, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkIn(List<String> values) {
            addCriterion("ADMIN_REMARK in", values, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkNotIn(List<String> values) {
            addCriterion("ADMIN_REMARK not in", values, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkBetween(String value1, String value2) {
            addCriterion("ADMIN_REMARK between", value1, value2, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminRemarkNotBetween(String value1, String value2) {
            addCriterion("ADMIN_REMARK not between", value1, value2, "adminRemark");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlIsNull() {
            addCriterion("ADMIN_AVATARURL is null");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlIsNotNull() {
            addCriterion("ADMIN_AVATARURL is not null");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlEqualTo(String value) {
            addCriterion("ADMIN_AVATARURL =", value, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlNotEqualTo(String value) {
            addCriterion("ADMIN_AVATARURL <>", value, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlGreaterThan(String value) {
            addCriterion("ADMIN_AVATARURL >", value, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlGreaterThanOrEqualTo(String value) {
            addCriterion("ADMIN_AVATARURL >=", value, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlLessThan(String value) {
            addCriterion("ADMIN_AVATARURL <", value, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlLessThanOrEqualTo(String value) {
            addCriterion("ADMIN_AVATARURL <=", value, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlLike(String value) {
            addCriterion("ADMIN_AVATARURL like", value, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlNotLike(String value) {
            addCriterion("ADMIN_AVATARURL not like", value, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlIn(List<String> values) {
            addCriterion("ADMIN_AVATARURL in", values, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlNotIn(List<String> values) {
            addCriterion("ADMIN_AVATARURL not in", values, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlBetween(String value1, String value2) {
            addCriterion("ADMIN_AVATARURL between", value1, value2, "adminAvatarurl");
            return (Criteria) this;
        }

        public Criteria andAdminAvatarurlNotBetween(String value1, String value2) {
            addCriterion("ADMIN_AVATARURL not between", value1, value2, "adminAvatarurl");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}
